/**
 * 
 */
package com.scpii.universal.pns.dao;

import java.util.List;
import java.util.Map;

import com.scpii.universal.hibernate.dao.BaseDao;
import com.scpii.universal.pns.dto.ClientUserDto;
import com.scpii.universal.pns.entity.Users;

/**
 * genericWeb
 * 
 * @author acer 2012-7-5下午04:33:34
 */
public interface UsersDao extends BaseDao<Users, Long> {

	List<Map<String, Object>> getClientUserInit(Long appId,
			ClientUserDto condition, Integer pageNo, Integer pageSize);

	Integer getClientUserInitCount(Long appId, ClientUserDto condition);

	List<Map<String, Object>> getUserIds(long appId, ClientUserDto condition);

	String[] getUserNamesByIds(String[] userIds);

	Users getUserByUserName(String userName, long appId);

}
